<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:s="http://jboss.com/products/seam/taglib"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:rich="http://richfaces.org/rich"
    template="layout/template.xhtml">

<ui:define name="body">

    <rich:panel>
        <f:facet name="header">Pessoa Details</f:facet>


        <s:decorate id="usuarioIdUsuario" template="layout/display.xhtml">
            <ui:define name="label">Usuario id usuario</ui:define>
            <h:outputText value="#{pessoaHome.instance.usuarioIdUsuario}"/>
        </s:decorate>

        <s:decorate id="contaIdConta" template="layout/display.xhtml">
            <ui:define name="label">Conta id conta</ui:define>
            <h:outputText value="#{pessoaHome.instance.contaIdConta}"/>
        </s:decorate>

        <s:decorate id="nome" template="layout/display.xhtml">
            <ui:define name="label">Nome</ui:define>
            <h:outputText value="#{pessoaHome.instance.nome}"/>
        </s:decorate>

        <s:decorate id="endereco" template="layout/display.xhtml">
            <ui:define name="label">Endereco</ui:define>
            <h:outputText value="#{pessoaHome.instance.endereco}"/>
        </s:decorate>

        <s:decorate id="bairro" template="layout/display.xhtml">
            <ui:define name="label">Bairro</ui:define>
            <h:outputText value="#{pessoaHome.instance.bairro}"/>
        </s:decorate>

        <s:decorate id="complemento" template="layout/display.xhtml">
            <ui:define name="label">Complemento</ui:define>
            <h:outputText value="#{pessoaHome.instance.complemento}"/>
        </s:decorate>

        <s:decorate id="cidade" template="layout/display.xhtml">
            <ui:define name="label">Cidade</ui:define>
            <h:outputText value="#{pessoaHome.instance.cidade}"/>
        </s:decorate>

        <s:decorate id="uf" template="layout/display.xhtml">
            <ui:define name="label">Uf</ui:define>
            <h:outputText value="#{pessoaHome.instance.uf}"/>
        </s:decorate>

        <s:decorate id="dddtelefone" template="layout/display.xhtml">
            <ui:define name="label">Dddtelefone</ui:define>
            <h:outputText value="#{pessoaHome.instance.dddtelefone}"/>
        </s:decorate>

        <s:decorate id="telefone" template="layout/display.xhtml">
            <ui:define name="label">Telefone</ui:define>
            <h:outputText value="#{pessoaHome.instance.telefone}"/>
        </s:decorate>

        <s:decorate id="dddcelular" template="layout/display.xhtml">
            <ui:define name="label">Dddcelular</ui:define>
            <h:outputText value="#{pessoaHome.instance.dddcelular}"/>
        </s:decorate>

        <s:decorate id="celular" template="layout/display.xhtml">
            <ui:define name="label">Celular</ui:define>
            <h:outputText value="#{pessoaHome.instance.celular}"/>
        </s:decorate>

        <s:decorate id="rg" template="layout/display.xhtml">
            <ui:define name="label">Rg</ui:define>
            <h:outputText value="#{pessoaHome.instance.rg}"/>
        </s:decorate>

        <s:decorate id="ssp" template="layout/display.xhtml">
            <ui:define name="label">Ssp</ui:define>
            <h:outputText value="#{pessoaHome.instance.ssp}"/>
        </s:decorate>

        <s:decorate id="cpfcnpj" template="layout/display.xhtml">
            <ui:define name="label">Cpfcnpj</ui:define>
            <h:outputText value="#{pessoaHome.instance.cpfcnpj}"/>
        </s:decorate>

        <s:decorate id="profissao" template="layout/display.xhtml">
            <ui:define name="label">Profissao</ui:define>
            <h:outputText value="#{pessoaHome.instance.profissao}"/>
        </s:decorate>

        <s:decorate id="nacionalidade" template="layout/display.xhtml">
            <ui:define name="label">Nacionalidade</ui:define>
            <h:outputText value="#{pessoaHome.instance.nacionalidade}"/>
        </s:decorate>

        <s:decorate id="estadocivil" template="layout/display.xhtml">
            <ui:define name="label">Estadocivil</ui:define>
            <h:outputText value="#{pessoaHome.instance.estadocivil}"/>
        </s:decorate>

        <s:decorate id="email" template="layout/display.xhtml">
            <ui:define name="label">Email</ui:define>
            <h:outputText value="#{pessoaHome.instance.email}"/>
        </s:decorate>

        <s:decorate id="outros" template="layout/display.xhtml">
            <ui:define name="label">Outros</ui:define>
            <h:outputText value="#{pessoaHome.instance.outros}"/>
        </s:decorate>

        <div style="clear:both"/>

    </rich:panel>

    <div class="actionButtons">

        <s:button view="/PessoaEdit.xhtml"
                    id="edit"
                 value="Edit"/>

        <s:button view="/#{empty pessoaFrom ? 'PessoaList' : pessoaFrom}.xhtml"
                    id="done"
                 value="Done"/>

    </div>

</ui:define>

</ui:composition>
